SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4a0096a8ccf697d337e1861ede8d39a463a0d7390ada3ccd24d04f70b70ec419' 
  AND token = '8QMdVkJn4G+OLty9y0FQZbUiwmzn/DsBGflJMNYqj8c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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