SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '10d786fdf689aedf63c39725c5c068891ff01da17570fb8b02b227948956fd9b' 
  AND token = '7aNy+BzEYOjkx5YYTZQ3YJdJmPqSEXL12yopcfqBshQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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