SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5ea5c34f718b32d9620f5b74115a1631e13b516ed111e6f97ef77d4c13c9bc87' 
  AND token = 'NxPM16e59KO3BlPUPwkm2Vk1ttUDDtTyRCtSnRWsb/k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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