SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8b8aaf83284564c62559315f46f8d0b95a3d5f9365086d5b7c4fce56a32961b9' 
  AND token = 'duSI+yHQb1Hjb0/ovGwQEPeEQAAXCbPb8PshIxKpZQc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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