SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f0acbd85767e94dac07a70b6515e44c009d111a4cbab5e0483c1e744972080e7' 
  AND token = 'QWtebtICiKOPpNuPj8O6rc73wXeAcK3L5qjqJ4xwcAY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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