SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '329727fa6bae7130be24d439bf06bd0c4e74a7cc959fba193f95b6ce697fb5f7' 
  AND token = '94PpHLB/o1x2i70SGwRx3LwHvT33U51S3B/YxK74ilE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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