SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0fea77e89645383edb2ebb1f791c7b07acadbed3725c3e347eedcdb803e01efc' 
  AND token = 't4gywpRUhmQSlaNOY9p2qehOlBpBEDj75uqG6RdWCAo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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