SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2ee0e7c17d771d561a9966bfdb8bb036bbae5aead2ab02de0cc8a7e36d74be8' 
  AND token = 'eMfN+JstJRAHQJC3dKHOrj5cILoP9rdLp+wx620Rojk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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