SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '402cd1b05421ad47caee34f4297c9259b448e60257b1730d74f3f4f16253547a' 
  AND token = 'nAm2CsONPfOaYRXUhgmo0eF0F4torlUQmqU6EsKaJOk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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