SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '139d2a5f974699019893bbc13bc00fdf96ea13a6674dc445ce580d5d6eb1a0d4' 
  AND token = 'fYLGskgGLiXq1iPtj/Iwqc/GWAd86M57TzCF61qKJyM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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