SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9922b8a70971a5407e703467c4a6d91a9913c16938ee7562386371f0f3e3df03' 
  AND token = 'tQj6Q/NlQ70YN2ieH4dNFU7Bw8qIHHY8AB4IOXH8r8Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00062

JSON explain

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