SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9966a47759a3d2fa51fbbf64650f3ba047cb7960aee348654ea8a4d352c7a04f' 
  AND token = 'IZzqDlt6lhPx4m20Ou0A+XzDKZoIYdMqwH4II8RAlAk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00178

JSON explain

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