SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '083ed91a17ad2d677f69f7870085eab2b98e941b4a3e91cbe3f6ad0a58b71f2b' 
  AND token = 'FvyXKjyPx7L2wxR/XDqG3B9yVlKvqQMgQPTyHr6hWgg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}