SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5f919c962d6a21245ab242687b1a70829b3d8349c642aceccef615f729556c3' 
  AND token = 'anxroe/ftqrqgut18iepYY2fE2YQNQRJevgnlZQNXhc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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