SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4172b1e05ea231b98ab489fcce8ab8c39595f407494ce210af538b4a717db1eb' 
  AND token = 'Ze5hgHs3uDOxMidJoFMATCepD590whEu1pbpBLd/bGk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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