SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1ba638eb568f8f082026176bdd512d53c8ecf3437e8955ef6dfe45117ca174dc' 
  AND token = 'hi+o6mE13YvWEqNrl1FaDN8AOjpv0mf/vmHfn7GV1UU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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