SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e585390411d388e88186d438ab0c5183d58bdc3fdf834c72f70c4adbb546582a' 
  AND token = '+7GTrklz/VzkO/XvWaLAHQdNYqsxun2f8jDO24YEpdw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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