SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '965b05bc30ae240d0551360fa48f453b0abbb939c421cc6fc26407e0dbbae5d5' 
  AND token = 'Ze/04lyO/uMOdSTo5gH7F75GdmAJ0Mzp4ncmJv/ygeU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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