SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '917d9811c67f867b541dc99e14975ae39abbb865aa23110eacea027695fdd9a7' 
  AND token = 'HFCFFTaPWVrmdKEX60btqjRTLDPcVl9MNDHbO1NJcd8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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