SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '16a8dc0de70f9b50748b1bc4ccd14b244d7da127a1129205f79546b5ce077cb3' 
  AND token = 'sq3d8HTnOWvYz2AnxGeb6oNKUHKF7Ah1hcULLfhmq4E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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