SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a07a44964e001635a6c0384add7059335018939582cc12a2d50beb991d08d11b' 
  AND token = 'Q7jlaMZh5J20aOIXkjG46IiVyV9K8QuHhANxdv0u0Tw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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