SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b76e954d50240eeb16398afba9911625466f62b99a6a56440cf03158fc3cc6ae' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}