SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f779ce90222854fe77d5d90fd83f95a820d19ea939215f83ba0d20d9a31f87f' 
  AND token = 'hnsml7CNU1I4iAiM/bRLMbYWj+ZBA0ziqMr7stt9e/k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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