SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '662a4ae973d190caf976cac9e2e1f29b81421eb369296f79921f96e0885cbcf7' 
  AND token = 'XhEYK+MN7T2z0d0xrfxtcOhxauM69wtStanuxOoKF58=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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