SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8fa0e272f59566c786f19a3aa3ec1327a19b1584e33ffaa2b6df9142d42bcaa4' 
  AND token = 'lc28FbpKzM47UvaNqr8z5caz7dchn9kO2feo+yPOeJ8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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