SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5b6a4ab1c6e1d1f68742a1de7cdd3db008af7d2e0b22d5bf0cace0654f5e3c7' 
  AND token = 'PdDW9IssUUhn/i+/j8u11/3KyPNtbpLvIBujy3hLTFg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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