SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e52cef91731e86b7a712e7a22bed43bd0bbfac44318e170ef940b3fc3f1e5d84' 
  AND token = 'vZsGau+Mg8wEzg+Xqa21RJ+M8a9R62R/9B7nI2vfJyU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}