SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd36e2d099b8404a742918fe3f0da051e77f2354953492b2012e5eace0d63b3e' 
  AND token = 'LQZ6E9wr/3bYneIMEtn0eG5r/8Ui6ceXJtfdlJqusa0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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