SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17b71ae12be474ecbcec5873751039df86c73e60b74c1eb4f852f93949e7185d' 
  AND token = 'KkXTynPR4f4hX693vuSM9CQTayeVcKcsqvT3buwMiqk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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