SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e7f9e4074e592e71c6ce4a05fb37c149af9d6a64b3f816e9d78665dfda539faf' 
  AND token = 'T0yzsE6TFWqi7MUNUxVm1+5eUeBWNxloikf6BrSbr+I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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