SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9ebc4b9d480f9c9c7a88e4ff9b2df6dc10da6d2fc2d9a106703d7517d26224aa' 
  AND token = 'sAnvPucoTm/2lTT2pMHRwhdWJD8mofByHcMmGjTFc7w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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