SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '317aa47aca20c71fe3d16dad0bb289e770c709a4d25b83fd3b8471ff40d3b53a' 
  AND token = 'vRUAGZ50wTVyAcfPaGoSgZ6gZ8u3jwjxVCeMdJxsH18=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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